#include <QApplication>
#include <QDateTime>
#include <QDebug>
#include "testinterface.h"

static const QString DBbsDockDBusServer = "com.test.adapter";
static const QString DBusDockDBusPath = "/com/test/adapter";
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QString createdAt = "2024-03-29T08:26:50+00:00";
    // auto dt = QDateTime::fromString(createdAt, "yyyy-MM-ddTHH:mm:ss+zzz");
    auto dt = QDateTime::fromString(createdAt, Qt::ISODateWithMs);
    qDebug() << dt;

    DBusInterface m_dbusdockinterface(DBbsDockDBusServer,
                                      DBusDockDBusPath,
                                      QDBusConnection::sessionBus(),
                                      &a);

    qDebug() << m_dbusdockinterface.geometry();

    return 0;
}
